package com.example.administrator.fivepagelibrary.view.fragment;

import android.support.annotation.Keep;
import android.view.View;
import com.example.administrator.commonlibrary.contract.fragment.five.FiveFragmentContract;
import com.example.administrator.commonlibrary.welcomepage.MainActivity;
import com.example.administrator.fivepagelibrary.R;
import com.example.administrator.fivepagelibrary.fivebase.FiveBaseViewFragment;
import com.example.administrator.fivepagelibrary.presenter.fragment.FiveFragmentPresenter;

import javax.inject.Inject;
@Keep
public class FiveFragment extends FiveBaseViewFragment<MainActivity,FiveFragmentContract.Presenter> implements FiveFragmentContract.View{
     @Inject
     FiveFragmentPresenter presenter;
    @Override
    protected FiveFragmentContract.Presenter initPresenter() {
        return presenter;
    }

    @Override
    protected int onMLayout() {
        return R.layout.five_fragment;
    }

    @Override
    protected void onHidden(boolean only) {

    }

    @Override
    protected void onMView(View view) {

    }

    @Override
    protected String setPageTitle() {
        return "第五个页面";
    }

    public static  FiveFragment newInstance() {
        return new FiveFragment();
    }
}
